import Vue from 'vue'
import Vuex from 'vuex'
import router from '../router'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    city: '请选择'
  },
  mutations: {
    GET_CITY(state, data) {
      state.city = data;
      // router.push('/newHome')
    }
  },
  actions: {
  },
  modules: {
  }
})
